Remove Duplicate Lines (Slow, Order Preserved)
(9 actions, 7 KB)
0 Split Text
[Shortcut Input]
by New Lines »
1 Repeat with Each in
[0 Split Text]
2 Match Text
(?m)^
[Repeat Item]
$
in
[results]
»
MatchTextCaseSensitive
:
false
3 If
[2 Matches]
does not have any value
ConditionalActionString
:
[Repeat Item]
4 Add
[Repeat Item]
to Variable
results
5 End If
6 End Repeat with Each
7 Combine Text
[results]
with New Lines »
8 Stop and Output
[7 Combined Text]